package gui.gui2d.highLevelPanels;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;

public class MenuPanel extends JPanel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	JLabel j ;
	public MenuPanel() {
		this.setLayout(new BorderLayout());
		this.setBackground(new Color(0,0,0, 0));
		j= new JLabel("Abbandona   ");
		j.setForeground(Color.WHITE);
		String carattere = "TimesRoman";
	     int plain = Font.ITALIC;
	     int dimensioni = 40;
	     Font font = new Font(carattere, plain, dimensioni);
	     j.setFont(font);
		this.add(j,BorderLayout.EAST);
	} 
	public void addExitListener(MouseListener ml){
		j.addMouseListener(ml);
	}
	
}
